package com.csun.cmny.provider.model.domain;

import java.io.Serializable;
import java.math.BigDecimal;

public class OldManIeType implements Serializable {
    private Integer id;
	
    private Integer oldManId;	//老人Id

    private String nLevelName;	//护理级别名称

    private BigDecimal nLevelFee;//护理级别费用缴费金额

    private BigDecimal nLevelActFee;//护理级别实际费用

    private BigDecimal nLevelRedFee;//护理级别费用减免费用

    private BigDecimal privateFee;//私人订制费用缴费金额

    private BigDecimal privateActFee;//私人订制费用实际费用

    private BigDecimal privateReDFee;//私人订制费用减免费用

    private BigDecimal nursingActFee;//护理费实际费用

    private BigDecimal nursingRedFee;//护理费减免费用

    private BigDecimal nursingFee;//护理费缴费金额

    private String nursingInstruction;//护理说明
    private String bedNo;		//床位号

    private BigDecimal bedActFee;//床位费实际费用

    private BigDecimal bedRedFee;//床位费减免费用

    private BigDecimal bedFee;//床位费缴费金额

    private String bedInstruction;//床位描述

    private String mealName;	//套餐名称

    private BigDecimal mealActFee;//餐饮费实际费用

    private BigDecimal mealRedFee;//餐饮费减免费用

    private BigDecimal mealFee;//餐饮费缴费金额

    private String mealInstruction;//套餐详情

    private BigDecimal pubSerActFee;//公共服务费实际费用

    private BigDecimal pubSerRedFee;//公共服务费减免费用

    private BigDecimal pubSerFee;//公共服务费缴费金额

    private BigDecimal inDepositActFee;//入住押金实际费用

    private BigDecimal inDepositRedFee;//入住押金减免费用

    private BigDecimal inDepositFee;//入住押金缴费金额

    private BigDecimal disActFee;//一次性费用实际费用

    private BigDecimal disRedFee;//一次性费用减免费用

    private BigDecimal disFee;//一次性费用缴费金额

    private BigDecimal actFee;//首月实缴费用

    private BigDecimal redFee;//首月减免费用

    private BigDecimal priPaidFee;//预缴费用

    private BigDecimal actTotalFee;//实缴合计

    private Integer priPaidCycle;//预缴周期
    

	private Integer bedId;		//床位id
	

	private String inDate;		//入院时间

	private Integer peopletype;//人员类别
    private String contractno;//合同编号

    private Integer advisoryid;

    private static final long serialVersionUID = 1L;

    public String getContractno() {
        return contractno;
    }

    public Integer getAdvisoryid() {
        return advisoryid;
    }

    public void setAdvisoryid(Integer advisoryid) {
        this.advisoryid = advisoryid;
    }

    public void setContractno(String contractno) {
        this.contractno = contractno;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getOldManId() {
        return oldManId;
    }

    public void setOldManId(Integer oldManId) {
        this.oldManId = oldManId;
    }

    public String getnLevelName() {
        return nLevelName;
    }

    public void setnLevelName(String nLevelName) {
        this.nLevelName = nLevelName;
    }

    public BigDecimal getnLevelFee() {
        return nLevelFee;
    }

    public void setnLevelFee(BigDecimal nLevelFee) {
        this.nLevelFee = nLevelFee;
    }

    public BigDecimal getnLevelActFee() {
        return nLevelActFee;
    }

    public void setnLevelActFee(BigDecimal nLevelActFee) {
        this.nLevelActFee = nLevelActFee;
    }

    public BigDecimal getnLevelRedFee() {
        return nLevelRedFee;
    }

    public void setnLevelRedFee(BigDecimal nLevelRedFee) {
        this.nLevelRedFee = nLevelRedFee;
    }

    public BigDecimal getPrivateFee() {
        return privateFee;
    }

    public void setPrivateFee(BigDecimal privateFee) {
        this.privateFee = privateFee;
    }

    public BigDecimal getPrivateActFee() {
        return privateActFee;
    }

    public void setPrivateActFee(BigDecimal privateActFee) {
        this.privateActFee = privateActFee;
    }

    public BigDecimal getPrivateReDFee() {
        return privateReDFee;
    }

    public void setPrivateReDFee(BigDecimal privateReDFee) {
        this.privateReDFee = privateReDFee;
    }

    public BigDecimal getNursingActFee() {
        return nursingActFee;
    }

    public void setNursingActFee(BigDecimal nursingActFee) {
        this.nursingActFee = nursingActFee;
    }

    public BigDecimal getNursingRedFee() {
        return nursingRedFee;
    }

    public void setNursingRedFee(BigDecimal nursingRedFee) {
        this.nursingRedFee = nursingRedFee;
    }

    public BigDecimal getNursingFee() {
        return nursingFee;
    }

    public void setNursingFee(BigDecimal nursingFee) {
        this.nursingFee = nursingFee;
    }

    public String getNursingInstruction() {
        return nursingInstruction;
    }

    public void setNursingInstruction(String nursingInstruction) {
        this.nursingInstruction = nursingInstruction;
    }

    public String getBedNo() {
        return bedNo;
    }

    public void setBedNo(String bedNo) {
        this.bedNo = bedNo;
    }

    public BigDecimal getBedActFee() {
        return bedActFee;
    }

    public void setBedActFee(BigDecimal bedActFee) {
        this.bedActFee = bedActFee;
    }

    public BigDecimal getBedRedFee() {
        return bedRedFee;
    }

    public void setBedRedFee(BigDecimal bedRedFee) {
        this.bedRedFee = bedRedFee;
    }

    public BigDecimal getBedFee() {
        return bedFee;
    }

    public void setBedFee(BigDecimal bedFee) {
        this.bedFee = bedFee;
    }

    public String getBedInstruction() {
        return bedInstruction;
    }

    public void setBedInstruction(String bedInstruction) {
        this.bedInstruction = bedInstruction;
    }

    public String getMealName() {
        return mealName;
    }

    public void setMealName(String mealName) {
        this.mealName = mealName;
    }

    public BigDecimal getMealActFee() {
        return mealActFee;
    }

    public void setMealActFee(BigDecimal mealActFee) {
        this.mealActFee = mealActFee;
    }

    public BigDecimal getMealRedFee() {
        return mealRedFee;
    }

    public void setMealRedFee(BigDecimal mealRedFee) {
        this.mealRedFee = mealRedFee;
    }

    public BigDecimal getMealFee() {
        return mealFee;
    }

    public void setMealFee(BigDecimal mealFee) {
        this.mealFee = mealFee;
    }

    public String getMealInstruction() {
        return mealInstruction;
    }

    public void setMealInstruction(String mealInstruction) {
        this.mealInstruction = mealInstruction;
    }

    public BigDecimal getPubSerActFee() {
        return pubSerActFee;
    }

    public void setPubSerActFee(BigDecimal pubSerActFee) {
        this.pubSerActFee = pubSerActFee;
    }

    public BigDecimal getPubSerRedFee() {
        return pubSerRedFee;
    }

    public void setPubSerRedFee(BigDecimal pubSerRedFee) {
        this.pubSerRedFee = pubSerRedFee;
    }

    public BigDecimal getPubSerFee() {
        return pubSerFee;
    }

    public void setPubSerFee(BigDecimal pubSerFee) {
        this.pubSerFee = pubSerFee;
    }

    public BigDecimal getInDepositActFee() {
        return inDepositActFee;
    }

    public void setInDepositActFee(BigDecimal inDepositActFee) {
        this.inDepositActFee = inDepositActFee;
    }

    public BigDecimal getInDepositRedFee() {
        return inDepositRedFee;
    }

    public void setInDepositRedFee(BigDecimal inDepositRedFee) {
        this.inDepositRedFee = inDepositRedFee;
    }

    public BigDecimal getInDepositFee() {
        return inDepositFee;
    }

    public void setInDepositFee(BigDecimal inDepositFee) {
        this.inDepositFee = inDepositFee;
    }

    public BigDecimal getDisActFee() {
        return disActFee;
    }

    public void setDisActFee(BigDecimal disActFee) {
        this.disActFee = disActFee;
    }

    public BigDecimal getDisRedFee() {
        return disRedFee;
    }

    public void setDisRedFee(BigDecimal disRedFee) {
        this.disRedFee = disRedFee;
    }

    public BigDecimal getDisFee() {
        return disFee;
    }

    public void setDisFee(BigDecimal disFee) {
        this.disFee = disFee;
    }

    public BigDecimal getActFee() {
        return actFee;
    }

    public void setActFee(BigDecimal actFee) {
        this.actFee = actFee;
    }

    public BigDecimal getRedFee() {
        return redFee;
    }

    public void setRedFee(BigDecimal redFee) {
        this.redFee = redFee;
    }

    public BigDecimal getPriPaidFee() {
        return priPaidFee;
    }

    public void setPriPaidFee(BigDecimal priPaidFee) {
        this.priPaidFee = priPaidFee;
    }

    public BigDecimal getActTotalFee() {
        return actTotalFee;
    }

    public void setActTotalFee(BigDecimal actTotalFee) {
        this.actTotalFee = actTotalFee;
    }

    public Integer getPriPaidCycle() {
        return priPaidCycle;
    }

    public void setPriPaidCycle(Integer priPaidCycle) {
        this.priPaidCycle = priPaidCycle;
    }

	public Integer getBedId() {
		return bedId;
	}

	public void setBedId(Integer bedId) {
		this.bedId = bedId;
	}

	public String getInDate() {
		return inDate;
	}

	public void setInDate(String inDate) {
		this.inDate = inDate;
	}

	public Integer getPeopletype() {
		return peopletype;
	}

	public void setPeopletype(Integer peopletype) {
		this.peopletype = peopletype;
	}

	@Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        OldManIeType other = (OldManIeType) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getOldManId() == null ? other.getOldManId() == null : this.getOldManId().equals(other.getOldManId()))
            && (this.getnLevelName() == null ? other.getnLevelName() == null : this.getnLevelName().equals(other.getnLevelName()))
            && (this.getnLevelFee() == null ? other.getnLevelFee() == null : this.getnLevelFee().equals(other.getnLevelFee()))
            && (this.getnLevelActFee() == null ? other.getnLevelActFee() == null : this.getnLevelActFee().equals(other.getnLevelActFee()))
            && (this.getnLevelRedFee() == null ? other.getnLevelRedFee() == null : this.getnLevelRedFee().equals(other.getnLevelRedFee()))
            && (this.getPrivateFee() == null ? other.getPrivateFee() == null : this.getPrivateFee().equals(other.getPrivateFee()))
            && (this.getPrivateActFee() == null ? other.getPrivateActFee() == null : this.getPrivateActFee().equals(other.getPrivateActFee()))
            && (this.getPrivateReDFee() == null ? other.getPrivateReDFee() == null : this.getPrivateReDFee().equals(other.getPrivateReDFee()))
            && (this.getNursingActFee() == null ? other.getNursingActFee() == null : this.getNursingActFee().equals(other.getNursingActFee()))
            && (this.getNursingRedFee() == null ? other.getNursingRedFee() == null : this.getNursingRedFee().equals(other.getNursingRedFee()))
            && (this.getNursingFee() == null ? other.getNursingFee() == null : this.getNursingFee().equals(other.getNursingFee()))
            && (this.getNursingInstruction() == null ? other.getNursingInstruction() == null : this.getNursingInstruction().equals(other.getNursingInstruction()))
            && (this.getBedNo() == null ? other.getBedNo() == null : this.getBedNo().equals(other.getBedNo()))
            && (this.getBedActFee() == null ? other.getBedActFee() == null : this.getBedActFee().equals(other.getBedActFee()))
            && (this.getBedRedFee() == null ? other.getBedRedFee() == null : this.getBedRedFee().equals(other.getBedRedFee()))
            && (this.getBedFee() == null ? other.getBedFee() == null : this.getBedFee().equals(other.getBedFee()))
            && (this.getBedInstruction() == null ? other.getBedInstruction() == null : this.getBedInstruction().equals(other.getBedInstruction()))
            && (this.getMealName() == null ? other.getMealName() == null : this.getMealName().equals(other.getMealName()))
            && (this.getMealActFee() == null ? other.getMealActFee() == null : this.getMealActFee().equals(other.getMealActFee()))
            && (this.getMealRedFee() == null ? other.getMealRedFee() == null : this.getMealRedFee().equals(other.getMealRedFee()))
            && (this.getMealFee() == null ? other.getMealFee() == null : this.getMealFee().equals(other.getMealFee()))
            && (this.getMealInstruction() == null ? other.getMealInstruction() == null : this.getMealInstruction().equals(other.getMealInstruction()))
            && (this.getPubSerActFee() == null ? other.getPubSerActFee() == null : this.getPubSerActFee().equals(other.getPubSerActFee()))
            && (this.getPubSerRedFee() == null ? other.getPubSerRedFee() == null : this.getPubSerRedFee().equals(other.getPubSerRedFee()))
            && (this.getPubSerFee() == null ? other.getPubSerFee() == null : this.getPubSerFee().equals(other.getPubSerFee()))
            && (this.getInDepositActFee() == null ? other.getInDepositActFee() == null : this.getInDepositActFee().equals(other.getInDepositActFee()))
            && (this.getInDepositRedFee() == null ? other.getInDepositRedFee() == null : this.getInDepositRedFee().equals(other.getInDepositRedFee()))
            && (this.getInDepositFee() == null ? other.getInDepositFee() == null : this.getInDepositFee().equals(other.getInDepositFee()))
            && (this.getDisActFee() == null ? other.getDisActFee() == null : this.getDisActFee().equals(other.getDisActFee()))
            && (this.getDisRedFee() == null ? other.getDisRedFee() == null : this.getDisRedFee().equals(other.getDisRedFee()))
            && (this.getDisFee() == null ? other.getDisFee() == null : this.getDisFee().equals(other.getDisFee()))
            && (this.getActFee() == null ? other.getActFee() == null : this.getActFee().equals(other.getActFee()))
            && (this.getRedFee() == null ? other.getRedFee() == null : this.getRedFee().equals(other.getRedFee()))
            && (this.getPriPaidFee() == null ? other.getPriPaidFee() == null : this.getPriPaidFee().equals(other.getPriPaidFee()))
            && (this.getActTotalFee() == null ? other.getActTotalFee() == null : this.getActTotalFee().equals(other.getActTotalFee()))
            && (this.getPriPaidCycle() == null ? other.getPriPaidCycle() == null : this.getPriPaidCycle().equals(other.getPriPaidCycle()))
            && (this.getAdvisoryid() == null ? other.getAdvisoryid() == null : this.getAdvisoryid().equals(other.getAdvisoryid()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getOldManId() == null) ? 0 : getOldManId().hashCode());
        result = prime * result + ((getnLevelName() == null) ? 0 : getnLevelName().hashCode());
        result = prime * result + ((getnLevelFee() == null) ? 0 : getnLevelFee().hashCode());
        result = prime * result + ((getnLevelActFee() == null) ? 0 : getnLevelActFee().hashCode());
        result = prime * result + ((getnLevelRedFee() == null) ? 0 : getnLevelRedFee().hashCode());
        result = prime * result + ((getPrivateFee() == null) ? 0 : getPrivateFee().hashCode());
        result = prime * result + ((getPrivateActFee() == null) ? 0 : getPrivateActFee().hashCode());
        result = prime * result + ((getPrivateReDFee() == null) ? 0 : getPrivateReDFee().hashCode());
        result = prime * result + ((getNursingActFee() == null) ? 0 : getNursingActFee().hashCode());
        result = prime * result + ((getNursingRedFee() == null) ? 0 : getNursingRedFee().hashCode());
        result = prime * result + ((getNursingFee() == null) ? 0 : getNursingFee().hashCode());
        result = prime * result + ((getNursingInstruction() == null) ? 0 : getNursingInstruction().hashCode());
        result = prime * result + ((getBedNo() == null) ? 0 : getBedNo().hashCode());
        result = prime * result + ((getBedActFee() == null) ? 0 : getBedActFee().hashCode());
        result = prime * result + ((getBedRedFee() == null) ? 0 : getBedRedFee().hashCode());
        result = prime * result + ((getBedFee() == null) ? 0 : getBedFee().hashCode());
        result = prime * result + ((getBedInstruction() == null) ? 0 : getBedInstruction().hashCode());
        result = prime * result + ((getMealName() == null) ? 0 : getMealName().hashCode());
        result = prime * result + ((getMealActFee() == null) ? 0 : getMealActFee().hashCode());
        result = prime * result + ((getMealRedFee() == null) ? 0 : getMealRedFee().hashCode());
        result = prime * result + ((getMealFee() == null) ? 0 : getMealFee().hashCode());
        result = prime * result + ((getMealInstruction() == null) ? 0 : getMealInstruction().hashCode());
        result = prime * result + ((getPubSerActFee() == null) ? 0 : getPubSerActFee().hashCode());
        result = prime * result + ((getPubSerRedFee() == null) ? 0 : getPubSerRedFee().hashCode());
        result = prime * result + ((getPubSerFee() == null) ? 0 : getPubSerFee().hashCode());
        result = prime * result + ((getInDepositActFee() == null) ? 0 : getInDepositActFee().hashCode());
        result = prime * result + ((getInDepositRedFee() == null) ? 0 : getInDepositRedFee().hashCode());
        result = prime * result + ((getInDepositFee() == null) ? 0 : getInDepositFee().hashCode());
        result = prime * result + ((getDisActFee() == null) ? 0 : getDisActFee().hashCode());
        result = prime * result + ((getDisRedFee() == null) ? 0 : getDisRedFee().hashCode());
        result = prime * result + ((getDisFee() == null) ? 0 : getDisFee().hashCode());
        result = prime * result + ((getActFee() == null) ? 0 : getActFee().hashCode());
        result = prime * result + ((getRedFee() == null) ? 0 : getRedFee().hashCode());
        result = prime * result + ((getPriPaidFee() == null) ? 0 : getPriPaidFee().hashCode());
        result = prime * result + ((getActTotalFee() == null) ? 0 : getActTotalFee().hashCode());
        result = prime * result + ((getPriPaidCycle() == null) ? 0 : getPriPaidCycle().hashCode());
        result = prime * result + ((getAdvisoryid() == null) ? 0 : getAdvisoryid().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", oldManId=").append(oldManId);
        sb.append(", nLevelName=").append(nLevelName);
        sb.append(", nLevelFee=").append(nLevelFee);
        sb.append(", nLevelActFee=").append(nLevelActFee);
        sb.append(", nLevelRedFee=").append(nLevelRedFee);
        sb.append(", privateFee=").append(privateFee);
        sb.append(", privateActFee=").append(privateActFee);
        sb.append(", privateReDFee=").append(privateReDFee);
        sb.append(", nursingActFee=").append(nursingActFee);
        sb.append(", nursingRedFee=").append(nursingRedFee);
        sb.append(", nursingFee=").append(nursingFee);
        sb.append(", nursingInstruction=").append(nursingInstruction);
        sb.append(", bedNo=").append(bedNo);
        sb.append(", bedActFee=").append(bedActFee);
        sb.append(", bedRedFee=").append(bedRedFee);
        sb.append(", bedFee=").append(bedFee);
        sb.append(", bedInstruction=").append(bedInstruction);
        sb.append(", mealName=").append(mealName);
        sb.append(", mealActFee=").append(mealActFee);
        sb.append(", mealRedFee=").append(mealRedFee);
        sb.append(", mealFee=").append(mealFee);
        sb.append(", mealInstruction=").append(mealInstruction);
        sb.append(", pubSerActFee=").append(pubSerActFee);
        sb.append(", pubSerRedFee=").append(pubSerRedFee);
        sb.append(", pubSerFee=").append(pubSerFee);
        sb.append(", inDepositActFee=").append(inDepositActFee);
        sb.append(", inDepositRedFee=").append(inDepositRedFee);
        sb.append(", inDepositFee=").append(inDepositFee);
        sb.append(", disActFee=").append(disActFee);
        sb.append(", disRedFee=").append(disRedFee);
        sb.append(", disFee=").append(disFee);
        sb.append(", actFee=").append(actFee);
        sb.append(", redFee=").append(redFee);
        sb.append(", priPaidFee=").append(priPaidFee);
        sb.append(", actTotalFee=").append(actTotalFee);
        sb.append(", priPaidCycle=").append(priPaidCycle);
        sb.append(", advisoryid=").append(advisoryid);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}